package test;

import com.test.Test;
import com.sysh.service.indexfirst;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;



@ContextConfiguration("classpath:application.xml")

@RunWith(SpringRunner.class)
public class MybatisSpring {
    @Autowired
    private Test t;
    @Autowired
    private indexfirst s;
    @org.junit.Test
    public void tt()
    {
        Integer i=t.findAll();
        System.out.println(i);
    }
}
